package com.ruoyi.dida.db.manager.strategy;

import com.ruoyi.dida.db.manager.mapper.StudentMapper;

import javax.annotation.Resource;
import java.util.List;

public class StudentStrategy implements Strategy{

    @Resource
    private StudentMapper studentMapper;
    @Override
    public List<?> result(String dbName,int nums) {

        return studentMapper.selectStudentList(dbName,nums);
    }
}
